-- GENERATED SPELL FOR [Carrion Condor] --


function spell0_26174(pUnit, Event) --@Swoop,n/a--
pUnit:FullCastSpellOnTarget(5708,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26174', 2309, 1)
end

function Sorts_26174(pUnit, Event)
local choix_sorts_26174 = math.random(0, 0)
if choix_sorts_26174 == 0 then
pUnit:RegisterEvent('spell0_26174', 1, 1)
end
end

function mob26174_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26174', math.random(1500, 3000), 1)
end

function mob26174_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26174_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26174_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26174, 1, 'mob26174_Action')
RegisterUnitEvent(26174, 2, 'mob26174_Leave')
RegisterUnitEvent(26174, 3, 'mob26174_Kill')
RegisterUnitEvent(26174, 4, 'mob26174_Die')
